package com.ppp.poi.common.interceptor;

import com.ppp.poi.service.UserService;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

/**
 * @author Wu Jin
 * @create 2020-01-19
 */
@Slf4j
public class LoginInterceptor extends HandlerInterceptorAdapter {


  @Autowired
  private UserService userService;

  @Override
  public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
      throws Exception {

    return super.preHandle(request, response, handler);
  }

}
